#ifndef _SPLINE_
#define _SPLINE_

class spline
{
public:
    virtual void cal() = 0; 
    virtual double operator()(double _x) // 返回插值函数在_x处的值
    {
        return 0;  
    }  
};

#endif
